package com.heima.juc.n3;

import lombok.extern.slf4j.Slf4j;

/**
 * @author : leimingchao
 * @date Date : 2022年01月09日 13:52
 */
@Slf4j(topic = "c.TestMultiThread")
public class TestMultiThread {

    public static void main(String[] args) {

        new Thread(() -> {
            while (true) {
                log.debug("running");
            }
        },"t1").start();

        new Thread(() -> {
            while (true) {
                log.debug("running");
            }
        },"t2").start();
    }
}
